#include<opencv2/core.hpp>
#include<opencv2/highgui.hpp>
#include"contrast_enhance.h"
using namespace cv;
int main()
{
	Mat img = imread("D:\\Files\\OpenCV-exer\\lena.jpg",CV_LOAD_IMAGE_GRAYSCALE);
	if (!img.data)
	{
		return -1;
	}
	Mat gray = GammaTransform(img,0.5);
	imshow("original", img);
	imshow("gray", gray);
	waitKey(0);
	return 0;
}


